<?php

/**
 * These directories specify the application's root directory and the directory
 * in which the framework lives, using the base directory defined in the 
 * index.php file.
 */
 
define('APP_DIR', BASE_DIR . '/application/');
define('FRAMEWORK_DIR', BASE_DIR . '/framework/');
 
 /**
  * These directories specify where the application's models, views, and 
  * controllers are found.
  */
  
define('MODEL_DIR', APP_DIR . 'models/');
define('TEMPLATE_DIR', APP_DIR . 'templates/');
define('CONTENT_VIEW_DIR', APP_DIR . 'content_views/');
define('CONTROLLER_DIR', APP_DIR . 'controllers/');

/**
 * These are the default controller, parser, and template for the application.
 * They will be loaded when no URL is specified to the application, as well
 * as when any errors in user input occur. 
 */
define('DEFAULT_CONTROLLER', "display");
define('DEFAULT_PARSER', "CMSParser");
define('DEFAULT_TEMPLATE', "default.html");
define('DEFAULT_CONTENT_VIEWS', "default.html");

/**
 * These are the keywords which the application allows to appear inside of 
 * its templates. Note that the custom parser defined for the application
 * should have parse methods for each of these keywords.
 */
define('TEMPLATE_KEYWORDS', BASE_DIR . '/config/keywords.txt');

/**
 * This is the application directory which can be used for links defined inside 
 * the templates of the application. These links avoid using the full directory
 * of the application, making it browser-safe.
 */
define('APP_DIR_LINKS', '/jankCMS');
define('RESOURCE_LOCATION', '/jankCMS/application');

/**
 * These are application-specific settings for display.
 */
define('SITE_TITLE', "Some Cool Site");